package com.dycn.dao;
import java.util.List;

import com.dycn.model.SysRoleResource;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface SysRoleResourceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysRoleResource record);

    int insertSelective(SysRoleResource record);

    SysRoleResource selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysRoleResource record);

    int updateByPrimaryKey(SysRoleResource record);

    List<SysRoleResource> findByRoleId(@Param("roleId")Integer roleId);

    int deleteByRoleId(@Param("roleId")Integer roleId);


}